# 定义布尔类型
boolean_1 = True;
boolean_2 = False;
print(f"boolean_1的值：{boolean_1}，类型：{type(boolean_1)}，boolean_2的值：{boolean_2}, 类型：{type(boolean_2)}") # boolean_1的值：True，类型：<class 'bool'>，boolean_2的值：False, 类型：<class 'bool'>

# 比较运算符 == 可以用来比较字符串 >= <= > <   
num_1 = 10
num_2 = 20
print("num_1 == num_2：%s" % (num_1 == num_2)) # False
print("num_1 != num_2：%s" % (num_1 != num_2)) # True
print("num_1 == num_2：%d" % (num_1 == num_2)) # 0
print("num_1 != num_2：%d" % (num_1 != num_2)) # 1

str_1 = "你好"
str_2 = "你好"
print("str_1 == str_2：%s" % (str_1 == str_2)) # True

str_3 = "Hello"
str_4 = "你好"
print("str_3 == str_4：%s" % (str_3 == str_4)) # False
print("str_3 >= str_4：%s" % (str_3 >= str_4)) # False